﻿namespace MetaVideoEditorEvolved
{
    using System.Windows;
    using GalaSoft.MvvmLight.Messaging;
    using MetaVideoEditorEvolved.Messages;

    public partial class ConfigWizard : Window
    {
        public ConfigWizard()
        {
            InitializeComponent();

            Messenger.Default.Register<CloseMessage>(this, (message) =>
            {
                if (message.WindowToClose == WindowType.ConfigWizard)
                {
                    this.Close();
                }
            });
        }
    }
}
